package pct.entity;

import java.util.Calendar;

public class User {
	private String username;
	private Calendar birthday;
	private boolean gender; // true male, false female
	private String password;
	private String passwordConfirm;
	private String question;
	private String answer;
	private int height;
	private int weight;
	private String email;
	private int userType;//0: visitor;1: patient; 2: doctor; 3: admin; 10: patient with limitation; 20: doctor with limitation;
	private int experience;
	private int rank;
	private String location;
	private int topicToday;
	private int postToday;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Calendar getBirthday() {
		return birthday;
	}

	public void setBirthday(Calendar birthday) {
		this.birthday = birthday;
	}

	public boolean getGender() {
		return this.gender;
	}

	public void setGender(boolean gender) {
		this.gender = gender;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPasswordConfirm() {
		return passwordConfirm;
	}

	public void setPasswordConfirm(String passwordConfirm) {
		this.passwordConfirm = passwordConfirm;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public int getWeight() {
		return weight;
	}

	public void setWeight(int weight) {
		this.weight = weight;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

	public int getExperience() {
		return experience;
	}

	public void setExperience(int experience) {
		this.experience = experience;
	}

	public int getRank() {
		return rank;
	}

	public void setRank(int rank) {
		this.rank = rank;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	public int getTopicToday() {
		return topicToday;
	}

	public void setTopicToday(int topicToday) {
		this.topicToday = topicToday;
	}

	public int getPostToday() {
		return postToday;
	}

	public void setPostToday(int postToday) {
		this.postToday = postToday;
	}

}
